package com.readygo.boot_test;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.annotation.Bean;
import org.springframework.security.crypto.bcrypt.BCryptPasswordEncoder;

//public class Application extends SpringBootServletInitializer{ //构建war包
@SpringBootApplication
public class Application {

    //    构建war包
    //    @Override
    //    protected SpringApplicationBuilder configure(SpringApplicationBuilder builder) {
    //        return builder.sources(Application.class);
    //    }

    public static void main(String[] args) {
        SpringApplication.run(Application.class, args);
    }


}
